<!--
 * @Author: daidai
 * @Date: 2022-03-04 09:23:59
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-05-07 11:05:02
 * @FilePath: \web-pc\src\pages\big-screen\view\indexs\index.vue
-->
<template>
  <div>
    <div class="top_total">
      <div class="total_item">
        <div><img src="../../assets/img/xiezuo.png" alt="" />床位总数</div>
        <div><span class="num">40</span>床</div>
      </div>
      <div class="total_item">
        <div><img src="../../assets/img/xiezuo.png" alt="" />建设中床位</div>
        <div><span class="num">19</span>床</div>
      </div>
      <div class="total_item">
        <div><img src="../../assets/img/xiezuo.png" alt="" />运营中床位</div>
        <div><span class="num">12</span>床</div>
      </div>
      <div class="total_item">
        <div><img src="../../assets/img/xiezuo.png" alt="" />服务总人数</div>
        <div><span class="num">1</span>人</div>
      </div>
      <div class="total_item">
        <div><img src="../../assets/img/xiezuo.png" alt="" />改造总床次</div>
        <div><span class="num">21</span>床</div>
      </div>
      <div class="total_item">
        <div>
          <img src="../../assets/img/xiezuo.png" alt="" />智能设备绑定数
        </div>
        <div><span class="num">5</span>件</div>
      </div>
      <div class="total_item">
        <div><img src="../../assets/img/xiezuo.png" alt="" />事件处理</div>
        <div><span class="num">245</span>件</div>
      </div>
    </div>
    <div class="contents">
      <div class="contetn_left">
        <div class="pagetab">
          <!-- <div class="item">实时监测</div> -->
        </div>
        <ItemWrap class="contetn_left-top contetn_lr-item" title="长者概况">
          <LeftTop />
        </ItemWrap>
        <ItemWrap class="contetn_left-center contetn_lr-item" title="改造展示">
          <LeftCenter />
        </ItemWrap>
        <ItemWrap
          class="contetn_left-bottom contetn_lr-item"
          title="实时报警"
          style="padding: 0 10px 16px 10px"
        >
          <LeftBottom />
        </ItemWrap>
      </div>
      <div class="contetn_center">
        <CenterMap class="contetn_center_top" />
        <!-- <ItemWrap class="contetn_center-bottom" title="安装计划">
          <CenterBottom />
        </ItemWrap> -->
      </div>
      <div class="contetn_right">
        <!-- <ItemWrap class="contetn_left-bottom contetn_lr-item" title="报警次数">
          <RightTop />
        </ItemWrap> -->
        <ItemWrap
          class="contetn_left-bottom contetn_right-item"
          title="服务排名(TOP8)"
          style="padding: 0 10px 16px 10px"
        >
          <RightCenter />
        </ItemWrap>
        <ItemWrap
          class="contetn_left-bottom contetn_right-item"
          title="服务工单 "
        >
          <RightBottom />
        </ItemWrap>
      </div>
    </div>
  </div>
</template>

<script>
import LeftTop from "./left-top.vue";
import LeftCenter from "./left-center.vue";
import LeftBottom from "./left-bottom.vue";
import CenterMap from "./center-map.vue";
import CenterBottom from "./center-bottom.vue";
import RightTop from "./right-top.vue";
import RightCenter from "./right-center.vue";
import RightBottom from "./right-bottom.vue";

export default {
  components: {
    LeftTop,
    LeftCenter,
    LeftBottom,
    CenterMap,
    RightTop,
    RightCenter,
    RightBottom,
    CenterBottom,
  },
  data() {
    return {};
  },
  filters: {
    numsFilter(msg) {
      return msg || 0;
    },
  },
  created() {},

  mounted() {},
  methods: {},
};
</script>
<style lang="scss" scoped>
// 内容
.top_total {
  height: 150px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  .total_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    div {
      margin: 5px;
    }
    img {
      margin-right: 5px;
    }
    .num {
      font-size: 32px;
      color: aqua;
      margin: 10px;
    }
  }
}
.contents {
  .contetn_left,
  .contetn_right {
    width: 560px;
    box-sizing: border-box;
    // padding: 16px 0;
  }

  .contetn_center {
    width: 720px;
  }

  //左 三个块
  .contetn_lr-item {
    height: 260px;
  }
  //右 两个块
  .contetn_right-item {
    height: 380px;
  }

  .contetn_center_top {
    width: 100%;
  }

  // 中间
  .contetn_center {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .contetn_center-bottom {
    height: 265px;
  }

  //左边 右边 结构一样
  .contetn_left,
  .contetn_right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;
  }
}

@keyframes rotating {
  0% {
    -webkit-transform: rotate(0) scale(1);
    transform: rotate(0) scale(1);
  }
  50% {
    -webkit-transform: rotate(180deg) scale(1.1);
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    -webkit-transform: rotate(360deg) scale(1);
    transform: rotate(360deg) scale(1);
  }
}
</style>
